﻿<?php
class resource extends top
{
	function index(){
		$this->display("tpl/article_index.html");	
	}

	function detail(){
		$id = $_GET["id"];
		$this->result = spClass("m_article")->find(array("id"=>$id));
		$this->display("tpl/article_detail.html");
	}
}